SYS.MEM.ALLOC
0x0000
NET.UPLINK
ESTABLISHING
SEC.PROTOCOL
AWAITING
DATA.STREAM
0.0.0.0
0%
INITIALIZING SYSTEM
[
]
Portfolio Learn Month 02 Networking Basics

📁 Day 20: SMB (Server Message Block)

Networking Windows SMB

SMB is the "Digital Delivery Truck" of the network. It's how computers share files, printers, and serial ports within a LAN. 📁


🏗️ 1. Introduction to SMB

The Server Message Block (SMB) is a client-server communication protocol used for sharing access to files, printers, and serial ports on a network.


📜 2. Version History & Security

Version Released With Security Status
SMB 1.0 Windows 2000 / XP Critical Risk. No encryption. Vulnerable to WannaCry.
SMB 2.x Windows Vista / 7 Faster, more efficient, and introduced basic signing.
SMB 3.x Windows 8 / 10 / 11 Secure. Supports End-to-End Encryption.

🤝 3. The Connection Mechanism (The 4-Phase Handshake)

A standard SMB connection is established through a request-response cycle.

Phase 1: Negotiation (The Handshake)

Phase 2: Session Setup (The ID Check)

Phase 3: Tree Connect (The Access Key)

Phase 4: Operations (The Actual Work)


⚖️ 4. SMB vs. SSH: Key Differences

Feature SMB SSH
Primary Goal File Sharing: Moving data like a delivery truck. Remote Access: Controlling a PC like a driver.
Scope Optimized for LAN (Internal networks). Built for LAN and the Public Internet.
Interface Usually accessed via File Explorer (GUI). Accessed via Terminal/Command Line (CLI).
Power Can read/write files. Can run system-level commands and take full control.